# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=libtaginfo
pkgver=0.2.1
pkgrel=4
pkgdesc="Library for reading media metadata"
arch=('loong64' 'x86_64')
url="https://bitbucket.org/shuerhaaken/libtaginfo"
depends=('taglib' 'gcc-libs')
license=('GPL2')
source=("https://bitbucket.org/shuerhaaken/libtaginfo/downloads/$pkgname-$pkgver.tar.gz")
sha512sums=('f1a79b1f7ea12bce10c82c0a4106f855c95b6efeef25e7548fc629d4f8977f50fe62637426a53ec0333902d5e2a81980c189719d030d7f85897ecfa8cbb1ba41')

build() {
  cd $pkgname-$pkgver
  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

